package com.xmad.ksadutils.AdSDK.AdBase;

import android.app.Activity;
import android.widget.FrameLayout;


import com.xmad.ksadutils.AdSDK.AdUtil;
import com.xmad.ksadutils.AdSDK.Interface.AdLoad;

import java.util.List;

public  class AdBaseLoad implements AdLoad {
    public  static final String TAG = "AdUtil";
    public  boolean Retry=false;
    public String PGAdId="";
    public Long KsAdId;
    public  boolean Cache=false;
    public  AdListener listener;
    public List<String> Ads;
    public List<Long> KsAds;
    public  boolean ToastCode= AdUtil.ToastCode;
    public AdBaseLoad( ) {
    }


    public void setToastCode(boolean toastCode) {
        ToastCode = toastCode;
    }

    public void setRetry(boolean retry) {
        Retry = retry;
    }

    public AdBaseLoad setId(String PGAdId) {
        this.PGAdId = PGAdId;
        return  this;
    }

    public AdBaseLoad setId(Long ksAdId) {
        this.KsAdId = ksAdId;
        return  this;
    }

    public void setCache(boolean cache) {
        Cache = cache;
    }

    public AdBaseLoad setListener(AdListener listener) {
        this.listener = listener;
        return  this;
    }

    public void setAd(List<String> ads) {
        Ads = ads;
    }

    public void setKsAds(List<Long> ksAds) {
        KsAds = ksAds;
    }

    @Override
    public void Show(Activity activity, FrameLayout frameLayout) {

    }


}
